"""
主页
"""
from web import models
from io import BytesIO
from django.shortcuts import render, redirect
from django.http import HttpResponse, JsonResponse
import random
import redis
from django_redis import get_redis_connection
import json
from utils.alicloud.sms import send_sms
from django.conf import settings
from web.forms.account import RegisterModelForm, LoginSmsForm, LoginForm
from web.forms.sms import SendSmsForm


def index(request):
    return render(request, 'web/index.html')
